#include "S:\Bureau\Projets C-engine\C-Engine\CHeader.hpp" int Jeu() { Engine Game; Game.Game(); return 1; } extern "C" { int AddIn_main(int isAppli, unsigned short OptionNum) { Jeu(); return 1; } #pragma section _BR_Size unsigned long BR_Size; #pragma section #pragma section _TOP int InitializeSystem(int isAppli, unsigned short OptionNum) { return INIT_ADDIN_APPLICATION(isAppli, OptionNum); } #pragma section } const unsigned char I_Perso_1[]={0x1f, 0x8f, 0x20, 0x6f, 0x40, 0x3f, 0x72, 0xef, 0x9a, 0x1f, 0x99, 0x1f, 0x63, 0xef, 0x30, 0x4f, 0x4c, 0x8f, 0x86, 0x4f, 0x87, 0xcf, 0x46, 0xcf, 0x41, 0xcf, 0x20, 0x8f, 0x1f, 0xf, }; const unsigned char I_Perso_2[]={0x7, 0xce, 0x8, 0x31, 0x10, 0x9, 0x1c, 0xba, 0x26, 0x86, 0x26, 0x46, 0x18, 0xfc, 0x1c, 0x4, 0x22, 0x28, 0x71, 0x1e, 0x89, 0x69, 0x8b, 0xf1, 0x7f, 0xf2, 0x8f, 0xf2, 0x9f, 0x8c, 0x6e, 0x0, }; Sprite S_Perso_1( I_Perso_1 , 12 , 15 ); Sprite S_Perso_2( I_Perso_2 , 16 , 16 ); Sprite S_Perso[]={ S_Perso_1 , S_Perso_2 }; Animation A_Perso( S_Perso , 2 , 200 ); Object*Perso=new Object; Perso->GetTransform()->SetXY(20,11); Perso->GetRender()->SetRender(A_Perso);